package me.tuyou.es.spring.boot.repository;

import me.tuyou.es.spring.boot.dto.Hotel;
import org.springframework.data.repository.CrudRepository;

import java.util.List;

public interface EsRepository extends CrudRepository<Hotel, String> {
    List<Hotel> findByTitleLike(String title);
}
